package com.core.sysLog.bo;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.core.sysLog.dao.SysLogDao;
import com.core.sysLog.dto.SysLogDto;
import com.core.sysLog.dto.SysLogSearchCondition;
import com.core.sysLog.pojo.SysLog;


@Service
public class SysLogBo {
    @Autowired
    private SysLogDao sysLogDao;

    public SysLog getById(SysLog sysLog) {
        return sysLogDao.getById(sysLog);
    }
    
    public void add(SysLog sysLog) {
        sysLogDao.add(sysLog);
    }


    public List<SysLog> searchPojo(SysLogSearchCondition sc) {
        return sysLogDao.searchPojo(sc);
    }

    public List<SysLogDto> searchDto(SysLogSearchCondition sc) {
        return sysLogDao.searchDto(sc);
    }

    public Integer searchCnt(SysLogSearchCondition sc) {
        return sysLogDao.searchCnt(sc);
    }

    //======================================= new method create here ====================================/

}
